//#include "stdafx.h"
#ifndef __UISolarThermalShow_H__
#define __UISolarThermalShow_H__

#include "..\..\DuiLib\UIlib.h"

#include <list>
#include <set>


class SolarThermalShow {
public:
	SolarThermalShow() {
		Reset();
	}

	virtual void ToActFlowAnim() = 0;
	virtual void ToStopFlowAnim() = 0;
	virtual void ToResetFlowAnim() = 0;
	virtual void SetNextAnimPlayer(SolarThermalShow* next) = 0;
	virtual void SetNextStopPlayer(SolarThermalShow* next) {};
	virtual void ShowComplete() = 0;

	void Reset() {
		m_bIsNextMode = false;
		m_NextPlayer.clear();
	}

	//SolarThermalShow*	m_NextPlayer;
	//map<INT, SolarThermalShow*> m_NextPlayers;
	//list<SolarThermalShow*> m_NextPlayer;
	set<SolarThermalShow*> m_NextPlayer;
	set<SolarThermalShow*> m_StopPlayer;
	BOOL				m_bIsNextMode;
};


#endif 